-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: close only assignee PR #10
fix: close only assignee PR #10
Conversation
Unused files (2)
Unused dependencies (2)
Unused exports (1)
Unused types (1)
|
Ideally we should have support for all the above scenarios. Cross org indeed is rare. If its too complicated then perhaps we can make a new task for it (if needed in the future.) |
I think a new task if required is the way to go. Correct me if I'm wrong, but for cross-org closures we'd need the bot to be installed in the other org right? I'm assuming based on the earlier attempts of my bot to close #1 and it never succeeding |
I want to add that even with the example in the PR body it would still likely be possible for a PR to be closed in error within the same repo depending on what is being cross-referenced until it's live-tested I can't be sure how effective it's going to be. We are making assumptions about what is being cross-referenced in production and I know there's a good chance it'll close a PR in error eventually with cross-repo closures. I was thinking parse each linked PR body and you'd expect to find a |
I've added the PR body check I referenced the issue from another repo from both an issue and PR. And I couldn't find either of those references in the timeline pre-filtering, which is odd right because previously it was showing PRs between this org and mine. The sooner we see it live QA-d the better and I'm happy to handle any fixes/tweaks that are needed fresh QA: |
Co-authored-by: Mentlegen <[email protected]>
Co-authored-by: Mentlegen <[email protected]>
After my comments are addressed I'm okay to merge. |
just double checking that we are good to merge here |
@Keyrxng Yes, the merge issue is unrelated to this and will be addressed within the kernel. I am fine with this pull-request. |
Resolves #4
I think there may be legitimate scenarios where a PR exists cross-repo but I'm unsure about cross-org. But that will likely be the exception rather than the rule, how do you feel about this approach?
QA: ubq-testing#2 (comment)